﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:TheOliver_Controls="clr-namespace:TheOliver.Controls;assembly=TheOliver.Controls.AnalogClock"
    xmlns:local="clr-namespace:CeBIT2010"
    x:Class="CeBIT2010.CebitForeground"
    d:DesignHeight="592.98"
    d:DesignWidth="817">

    <Grid
        x:Name="LayoutRoot">

        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition
                Height="70" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
    	<Image Margin="0" Grid.Row="1" Grid.RowSpan="1" Source="Assets/BIEP_background.jpg" Stretch="Fill">
    		<Image.Effect>
    			<DropShadowEffect Direction="62"/>
    		</Image.Effect>
    	</Image>
    	<Grid x:Name="_header" HorizontalAlignment="Left" Grid.RowSpan="1" VerticalAlignment="Top" Width="446" Margin="0,10,0,0" Height="89">
    		<Grid.RowDefinitions>
    			<RowDefinition Height="66"/>
    		</Grid.RowDefinitions>
    		<Image Grid.RowSpan="1" Source="Assets/BIEB_Zettel.png" Stretch="Fill" VerticalAlignment="Bottom" Grid.ColumnSpan="1" Height="84" Margin="-9,0,0,-24">
    			<Image.Effect>
    				<DropShadowEffect Opacity="0.865"/>
    			</Image.Effect>
    		</Image>
    		<StackPanel Margin="23,19,0,-8" Orientation="Horizontal" d:LayoutOverrides="Width">
    			<Image Source="Assets/msdn_h_rgb.png" Stretch="Fill" VerticalAlignment="Center" Height="37" Width="136"/>
    			<TextBlock HorizontalAlignment="Center" TextWrapping="Wrap" FontSize="29.333" Margin="17,8,0,0" Foreground="Black" VerticalAlignment="Center"><Run Text="&amp; "/><Run FontStyle="Italic" Text="TechNet"/><Run Text=" Kino"/></TextBlock>
    		</StackPanel>

    	</Grid>
        <StackPanel HorizontalAlignment="Left" Margin="8,7,0,10" Orientation="Horizontal" Grid.Row="1">
        	<Image Source="Assets/Microsoft_Logo.png" Stretch="Fill" Height="34" VerticalAlignment="Center" Width="208"/>
        </StackPanel>

    	<Image HorizontalAlignment="Right" Height="75" Grid.Row="1" Source="Assets/BIEB_Logo.png" Stretch="Fill" VerticalAlignment="Top" Width="325"/>
    	<Grid x:Name="_previewGrid" HorizontalAlignment="Right" Margin="0,176,0,0" VerticalAlignment="Top" Width="200" d:LayoutOverrides="HorizontalAlignment" Grid.RowSpan="2">
    		<Grid.RowDefinitions>
    			<RowDefinition Height="Auto" MinHeight="347"/>

    		</Grid.RowDefinitions>
    		<Grid.ColumnDefinitions>
    			<ColumnDefinition/>
    		</Grid.ColumnDefinitions>
    		<StackPanel Margin="10">
    			<Grid x:Name="_date" Margin="0">
    				<Image Grid.ColumnSpan="1" Grid.RowSpan="1" Source="Assets/Zettel.png" Stretch="Fill"/>
    				<TextBlock x:Name="_dateLabel" FontSize="16" Margin="0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" d:LayoutOverrides="Width" HorizontalAlignment="Center" FontWeight="Bold"/>
    			</Grid>
    			<local:SmallSessionDisplay x:Name="_currentSession" Header="Aktueller Vortrag" />
    			<local:SmallSessionDisplay x:Name="_nextSession" Header="Nächster Vortrag"/>
    		</StackPanel>
    	</Grid>
        <TheOliver_Controls:AnalogClock
            Margin="0,-64,-46,0"
            HorizontalAlignment="Right"
            VerticalAlignment="Top"
            RenderTransformOrigin="0.5,0.5" d:LayoutOverrides="HorizontalAlignment">
        	<TheOliver_Controls:AnalogClock.Effect>
        		<DropShadowEffect Opacity="0.89"/>
        	</TheOliver_Controls:AnalogClock.Effect>
            <TheOliver_Controls:AnalogClock.RenderTransform>
                <TransformGroup>
                    <ScaleTransform
                        ScaleX="0.6"
                        ScaleY="0.6" />
                    <SkewTransform />
                    <RotateTransform />
                    <TranslateTransform />
                </TransformGroup>
            </TheOliver_Controls:AnalogClock.RenderTransform>
        </TheOliver_Controls:AnalogClock>

    </Grid>
</UserControl>
